package com.javasm.dao;

import com.javasm.entity.Room;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 陪玩直播大厅(PlayRoom)表数据库访问层
 *
 * @author makejava
 * @since 2024-08-23 14:30:04
 */
public interface RoomDao {

    List<Room> listPlyRooms(@Param("inputRoom") Room inputRoom, @Param("startIndex") Integer startIndex, @Param("pageSize") Integer pageSize);
    Integer countPlyRooms(@Param("inputRoom") Room inputRoom);
    Integer addPlyRoom(Room inputRoom);
    Integer deletePlyRoomById(Integer roomId);
    Integer editPlyRoom(Room inputRoom);
    Room getPlyRoomById(Integer roomId);
    Integer editPlyRoomStauts(Room inputRoom);


}

